package top.toptimus.dto.store;

import lombok.Data;

/**
 * 店员信息DTO
 */
@Data
public class StoreAssitantDTO {
    public boolean checkPass;
    private String id;
    private String code;
    private String name;
    private String shopId;

    public StoreAssitantDTO() {
        this.checkPass = false;
    }

    public StoreAssitantDTO(
            String id,
            String code,
            String name,
            String shopId
    ) {
        this.checkPass = true;
        this.id = id;
        this.code = code;
        this.name = name;
        this.shopId = shopId;
    }
}
